<template>
  <div style="max-width:800px">
    <config-edit-form ref="configEditFormRef" :disabled="!can('EDIT')"></config-edit-form>
  </div>
</template>
<script setup>
import configEditForm from "@/components/sys/config/editForm.vue";
import { can } from "@/utils/permission"
import { onMounted, useTemplateRef } from "vue";
const configEditFormRef = useTemplateRef("configEditFormRef")

onMounted(async () => {
  await getData()
})
const getData = async () => {
  await configEditFormRef.value.getData();
}

</script>